<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    
<head>
    <meta name="Generator" content="手机网" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="Keywords" content="" />
    <meta name="Description" content="" />
    <title>
        淘机城
    </title>
    <link rel="shortcut icon" href="favicon.ico" />
    <link rel="icon" href="animated_favicon.gif" type="image/gif" />
    <link href="__PUBLIC__/Home/css/index.css" rel="stylesheet" type="text/css" media="screen"
    />
    <link href="__PUBLIC__/Home/css/style.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="__PUBLIC__/Home/js/common.js"></script>
</head>
    
<body>

<include file="Public/header" />

    <div id="body">
        <div class="body_l">
            <div class="subsearch">
                <form id="searchForm" name="searchForm" method="get" action="search.php"
                onSubmit="return checkSearchForm()">
                    <div>
                        <input name="keywords" type="text" id="keyword" value="" class="searchmobile">
                        <button class="menu_button" name="menu_button" onClick="return checkSearchForm()">
                        </button>
                    </div>
                </form>
            </div>
            <script type="text/javascript">
/*
                function checkSearchForm() {
                    if (document.getElementById('keyword').value) {
                        document.searchForm.submit();
                        return true;
                    } else {
                        alert("请输入搜索关键词！");
                        return false;
                    }
                }
                */
            </script>
            <div class="subnav_header">
            </div>
            <script type="text/javascript">
            function menu_c(o) {
                alert(o.getElementsByTagName('ul').length);
            }
            </script>


            <div class="subnav">

                <foreach name="cats" item="p">
                    <if condition="$p['parent_id']==0">

                        <div>
                            <span class="left">
                                {$p['cat_name']}
                            </span>
                            <span class="right subnav_right">
                                <img src="__PUBLIC__/Home/images/line.gif" border="0" id="categorie_ico1">
                            </span>
                        </div>
                        <ul>
                            <foreach name="cats" item="s">
                                <if condition="$s['parent_id']==$p['cat_id']">

                                    <li>
                                        &nbsp;
                                        <a href="{:U('Home/Goods/category',array('cat_id'=>$s['cat_id']))}">
                                            {$s['cat_name']}
                                        </a>
                                    </li>
                                </if>
                            </foreach>
                        </ul>
                    </if>
                </foreach>

            </div>


            <div class="subinfo_header">
                <div class="left subinfo_header_left">
                    <a href="#">
                    </a>
                </div>
                <!--<div class="right subinfo_header_right"><a href="#">更多</a></div>-->
            </div>
            <div class="subinfo_body">
                <ul>
                    <li style="width:175px; overflow:hidden">
                        <a href="#" title="很好，我很喜欢" style="color:#333333">
                            很好，我很喜欢
                        </a>
                        <br />
                        <a style="color:#333333">
                            ecshop
                        </a>
                    </li>
                </ul>
            </div>
            <div class="subinfo_footer">
            </div>
            <div class="subinfo_header">
                <div class="subinfo_header_left_top10">
                    &nbsp;
                    <span>最近浏览</span>
                </div>
            </div>
            <div class="subinfo_body_top10">
                <ul>

                    <foreach name="history" item="h" key="k">
                        <li>
                            <div class="subinfo_body_top10_l">
                                <a href="{:U('Home/Goods/goods',array('goods_id'=>$k))}">
                                    <img src="{$h['thumb_img']}" alt=""
                                    class="samllimg" />
                                </a>
                            </div>
                            <div class="subinfo_body_top10_r">
                                <p class="subinfo_body_top10_r_1">
                                    <a href="{:U('Home/Goods/goods',array('goods_id'=>$k))}">{$h['goods_name']}</a>
                                </p>
                                <p class="subinfo_body_top10_r_3">
                                    ￥{$h['shop_price']}元
                                </p>
                            </div>
                            <div class="clear">
                            </div>
                        </li>
                    </foreach>

                </ul>
            </div>
            <div class="subinfo_footer">
            </div>
            <div class="submessage_header">
                &nbsp;
            </div>
            <div class="submessage_body">
                <a href="#" target="_blank">
                    <img src="__PUBLIC__/Home/images/message.gif">
                </a>
            </div>
            <div class="subinfo_footer">
            </div>
        </div>

        <div class="body_r" style=" display:inline">
            <div class="mainbig">
                <img src="__PUBLIC__/Home/images/banner.jpg" />
            </div>
            <div class="clear">
            </div>
            <div class="mainheader">
                <div class="weekbuy">
                    <a href="search.php?intro=new">
                        更多&gt;&gt;
                    </a>
                </div>
            </div>
            <ul class="productlist">

                <foreach name="best" item="b">
                    <li>
                        <a href="{:U('Home/Goods/goods',array('goods_id'=>$b['goods_id']))}">
                            <img src="Http://www.zhanghuwei.com/shop1{$b['thumb_img']}" alt="{$b['goods_name']}" />
                        </a>
                        <p class="pname">
                            <a href="{:U('Home/Goods/goods',array('goods_id'=>$b['goods_id']))}" title="{$b['goods_name']}">
                                {$b['goods_name']}&nbsp; {$b['goods_brief']}
                            </a>
                        </p>
                        <p class="price">
                            ￥{$b['shop_price']}元
                        </p>
                    </li>
                </foreach>

            </ul>
            <div class="clear"></div>
            <div class="mainheader">
                <div class="lowerbuy">
                    <a href="search.php?intro=new">
                        更多&gt;&gt;
                    </a>
                </div>
            </div>
            <ul class="productlist">

                <foreach name="hot" item="h">
                    <li>
                        <a href="{:U('Home/Goods/goods',array('goods_id'=>$h['goods_id']))}">
                            <img src="Http://www.zhanghuwei.com/shop1{$h['thumb_img']}" alt="{$h['goods_name']}" />
                        </a>
                        <p class="pname">
                            <a href="{:U('Home/Goods/goods',array('goods_id'=>$h['goods_id']))}" title="{$h['goods_name']}">
                                {$h['goods_name']}&nbsp;{$h['goods_brief']}
                            </a>
                        </p>
                        <p class="price">
                            ￥{$h['shop_price']}元
                        </p>
                    </li>
                </foreach>

            </ul>
            <div class="clear"></div>
            <div class="mainheader">
                <div class="newproduct">
                    <a href="search.php?intro=new">
                        更多&gt;&gt;
                    </a>
                </div>
            </div>
            <ul class="productlist">

                <foreach name="new" item="n">
                    <li>
                        <a href="{:U('Home/Goods/goods',array('goods_id'=>$n['goods_id']))}">
                            <img src="Http://www.zhanghuwei.com/shop1{$n['thumb_img']}" alt="{$n['goods_name']}" />
                        </a>
                        <p class="pname">
                            <a href="{:U('Home/Goods/goods',array('goods_id'=>$n['goods_id']))}" title="{$n['goods_name']}">
                                {$n['goods_name']}&nbsp;{$n['goods_brief']}
                            </a>
                        </p>
                        <p class="price">
                            ￥{$n['shop_price']}元
                        </p>
                    </li>
                </foreach>

            </ul>
        </div>
        <div class="clear">
        </div>
    </div>


<include file="Public/footer" />

</body>

</html>